/**
 * Candidate number: 35834
 */
package tv.starfu.sequencer.model;

public class SequenceEvent extends Event {
    private float pan;
    private int duration;
    private int pitch;
    private int velocity;
 //   private Envelope ampEnv;
 //   private Envelope freqEnv;

    public SequenceEvent(int velocity, int duration, int pitch, float pan) {
        this.velocity = velocity;
        this.duration = duration;
        this.pitch = pitch;
        this.pan = pan;
    }
    
    public void play(Instrument instrument) {
        
    }

    public int getDuration() {
        return duration;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }

    public float getPan() {
        return pan;
    }

    public void setPan(float pan) {
        this.pan = pan;
    }

    public int getPitch() {
        return pitch;
    }

    public void setPitch(int pitch) {
        this.pitch = pitch;
    }

    public int getVelocity() {
        return velocity;
    }

    public void setVelocity(int velocity) {
        this.velocity = velocity;
    }
    
    
    
}
